import React from "react"
import { Link, NavLink, } from "react-router-dom"
import './navbar.scss'

export default class Navbar extends React.Component {
  render() {
    return (
      <nav className="nav-wrapper">
        <ul className="list">
          <li><NavLink to='/home'>首页</NavLink></li>
          <li><Link to='/about'>内容</Link></li>
        </ul>
      </nav>
    )
  }
}